package com.zhss.microservice.server.constant;

/**
 * server节点的角色
 */
public class ServerNodeRole {

    /**
     * 普通master节点
     */
    public static final int COMMON_NODE = 0;
    /**
     * Controller角色
     */
    public static final int CONTROLLER = 1;
    /**
     * Controller候选人角色
     */
    public static final int CANDIDATE = 2;

}
